//
//  QHPickerView.h
//  QHealthForDoctor
//
//  Created by careate-hubing on 2020/2/26.
//  Copyright © 2020 李 志良. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^SelectDataBlock)(NSString *timeStr,NSInteger index);

@interface QHPickerView : UIButton

@property (nonatomic, copy) SelectDataBlock selectDataBlock;

+ (instancetype)selectData:(SelectDataBlock)selectDataBlock;

@property (nonatomic,strong) NSArray *dataSource;

- (void)showWithIndex:(NSInteger)index;


- (void)dismiss;

@end

NS_ASSUME_NONNULL_END
